package com.cas.scalls.util;

public class HttpException extends Exception {
	private static final long serialVersionUID = 1L;
	protected int httpResponseCode;

	@SuppressWarnings("unused")
	private HttpException() {}
	public HttpException(int httpResponseCode, String httpResponseMessage) {
		super(httpResponseMessage);
		this.httpResponseCode = httpResponseCode;
	}

	public int getHttpResponseCode() {
		return httpResponseCode;
	}
	public String getHttpResponseMessage() {
		return this.getMessage();
	}

}
